package com.jjxy.util;

import java.awt.Color;

public class MyUtil {
	private MyUtil() {}
	
	public static final int getRandomNumber(int min,int max) {
		return (int) (Math.random()*(max-min)+min);
	}
	
	public static final Color getRandomColor() {
		int red = getRandomNumber(0,256);
		int blue = getRandomNumber(0,256);
		int green = getRandomNumber(0,256);
		return new Color(red,green,blue);
	}

}
